package com.technology.education.dslitem.style

import android.text.InputType
import android.view.Gravity
import com.technology.education.R

/**
 *@author:create by BZY
 *Date: 2020/8/4 17
 * 基本 item 样式
 */
class BaseStyle(
    var titleTextSize: Float = 16f,
    var titleTextColor: Int = R.color.text_h,
    var titleGravity: Int = Gravity.LEFT,
    var contentTextSize: Float = 16f,
    var contentTextColor: Int = R.color.text_h,
    var contentGravity: Int = Gravity.RIGHT,
    var leftPadding: Int = 16,
    var topPadding: Int = 16,
    var rightPadding: Int = 16,
    var bottomPadding: Int = 16,
    var itemHeight: Int = 0,
    var lineColor: Int = R.color.gray_light,
    var lineHeight: Int = 1,
    var topLine: Int = 0,
    var itemBackColor: Int = R.color.white,
    var itemSpan: Int = -1,
    var leftOffset: Int = 0,
    var rightOffset: Int = 0,
    var topOffset: Int = 0,
    var bottomOffset: Int = 0,
    var itemBackDrawable: Int = 0,
    var parentGravity: Int = Gravity.CENTER_VERTICAL,
    var contentInputType: Int = InputType.TYPE_CLASS_TEXT,
    var isBold: Boolean = false
)